package com.ruoyi.workflow.service;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.SysPost;
import com.ruoyi.workflow.domain.bo.WfTaskBo;
import com.ruoyi.workflow.domain.dto.WfNextDto;
import com.ruoyi.workflow.domain.vo.WfViewerVo;
import org.flowable.bpmn.model.UserTask;
import org.flowable.engine.runtime.ProcessInstance;
import org.flowable.task.api.Task;

import java.io.InputStream;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


public interface ISysService {

    SysPost getShangJiPostByUserId(String userId);

    SysPost getShangShangJiPostByUserId(String userId);

    SysUser getShangJiUserByUserId(String userId);


    SysUser getShangShangJiUserByUserId(String userId);

    void setCandidateByShangJi(Task task, String userId);

    void setCandidateByShangShangJi(Task task,String userId);

    void setCandidateByJingLi(Task task,String userId);

    void setCandidateByZongJingLi(Task task);


    void setCandidateByXieLi(Task task);


    void setCandidateByRenShiXingzhengJingli(Task task);

    void setCandidateByBaoAn(Task task);

    void setCandidateByRenShiZhuanyuan(Task task);

    void setCandidateUsers(Task task,String userId);

    SysDept selectDeptById(Long id);
    SysUser selectUserById(Long id);

    void setDefaultVariables(Map<String,Object> variables,Long userId);



}
